package com.mrzhou.system.vo;

import com.mrzhou.mybatis.support.ParentTree;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class MenuVO extends ParentTree {

    @ApiModelProperty("菜单编号")
    private String menuCode;

    @ApiModelProperty("菜单路由名称，前端需要")
    private String name;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("菜单别名")
    private String perms;

    @ApiModelProperty("资源路径")
    private String path;

    @ApiModelProperty("组件路由")
    private String component;

    @ApiModelProperty("菜单图标")
    private String icon;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("菜单类型（M目录 C菜单 F按钮）")
    private String menuType;

    @ApiModelProperty("是否打开新页面")
    private String isOpen;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("菜单信息, 便于前端取值")
    private MetaVO meta;

    @ApiModelProperty("菜单状态, 0禁用, 1启用")
    private Integer status;

    private Long createUser;

    private LocalDateTime createTime;

    private Long updateUser;

    private LocalDateTime updateTime;

}
